package com.djzhou.gmms.model.menu;

import java.util.Date;

import com.djzhou.gmms.model.company.TbCompany;
import com.djzhou.gmms.model.department.TbDepartment;
import com.djzhou.gmms.model.entity.Entity;
import com.djzhou.gmms.model.user.TbUser;


public class TbMenu extends Entity {


	private Integer menuId;//菜单ID
	private Integer parentMenuId;//父级菜单
	private String menuName;//菜单名称
	private String menuIcon;//菜单图标
	private String menuUrl;//菜单URL
	private Integer openFlag;//是否启用
	private String menuDesc;//菜单描述
	private String menuNo;//菜单编码
	private Date createTime;//创建时间
	private Date lastModifyTime;//最后修改时间
	private Integer deleteFlag;//删除标识
	private String remark;//备注
	private String backupData;//备份数据，用于排序
	private String menuOrder;//临时变量，用于排序，不作为数据库字段
	private Integer afterMenuId;//排之后的ID，用于排序
	
	private String menuCss;//菜单样式 EXT专用
	private String menuWinId;//菜单窗体编码 EXT专用
	private String menuEvent;//菜单触发的方法 EXT专用
	
	private TbCompany company;//所属公司
	private TbDepartment department;//所属部门
	private TbUser user;
	
	
	private Integer publicMenu;//是否为公共菜单 1公共菜单 0普通菜单 公共菜单将不受权限控制
	
	
	
	
	
	public TbUser getUser() {
		return user;
	}
	public void setUser(TbUser user) {
		this.user = user;
	}
	public TbCompany getCompany() {
		return company;
	}
	public void setCompany(TbCompany company) {
		this.company = company;
	}
	public TbDepartment getDepartment() {
		return department;
	}
	public void setDepartment(TbDepartment department) {
		this.department = department;
	}
	public Integer getMenuId() {
		return menuId;
	}
	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}
	public Integer getParentMenuId() {
		return parentMenuId;
	}
	public void setParentMenuId(Integer parentMenuId) {
		this.parentMenuId = parentMenuId;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getMenuIcon() {
		return menuIcon;
	}
	public void setMenuIcon(String menuIcon) {
		this.menuIcon = menuIcon;
	}
	public String getMenuUrl() {
		return menuUrl;
	}
	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}
	public Integer getOpenFlag() {
		return openFlag;
	}
	public void setOpenFlag(Integer openFlag) {
		this.openFlag = openFlag;
	}
	public String getMenuDesc() {
		return menuDesc;
	}
	public void setMenuDesc(String menuDesc) {
		this.menuDesc = menuDesc;
	}
	public String getMenuNo() {
		return menuNo;
	}
	public void setMenuNo(String menuNo) {
		this.menuNo = menuNo;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getBackupData() {
		return backupData;
	}
	public void setBackupData(String backupData) {
		this.backupData = backupData;
	}
	public String getMenuCss() {
		return menuCss;
	}
	public void setMenuCss(String menuCss) {
		this.menuCss = menuCss;
	}
	public String getMenuWinId() {
		return menuWinId;
	}
	public void setMenuWinId(String menuWinId) {
		this.menuWinId = menuWinId;
	}
	public Integer getPublicMenu() {
		return publicMenu;
	}
	public void setPublicMenu(Integer publicMenu) {
		this.publicMenu = publicMenu;
	}
	public String getMenuEvent() {
		return menuEvent;
	}
	public void setMenuEvent(String menuEvent) {
		this.menuEvent = menuEvent;
	}
	public String getMenuOrder() {
		return menuOrder;
	}
	public void setMenuOrder(String menuOrder) {
		this.menuOrder = menuOrder;
	}
	public Integer getAfterMenuId() {
		return afterMenuId;
	}
	public void setAfterMenuId(Integer afterMenuId) {
		this.afterMenuId = afterMenuId;
	}
	
	
	
	

}